#include <vector>
#include "DrawImage.h"
#include "image.h"
using namespace std;

extern Image *Scores[11], *map_photos[12], *startButton, *Loadd[4], *HowToPlayButton, *ExitButton, *back;
extern Image *chars[4];
extern pair < Image *, int> Questions[11];
extern int WindowX , WindowY;

DrawImage::DrawImage(void)
{	
}

void DrawImage::drawBack()
{
	back->display(0,0);
}

void DrawImage::drawBackground (int ind)
{
	map_photos[ind]->display(0,0);
}

void DrawImage::drawAffrica (void)
{
	img=new Image("affrica.bmp");
	img->display(0,0);
}

void DrawImage::drawStartButton(void)
{
	startButton->display(420,150);
}

void DrawImage::drawHowToPlayButton(void)
{
	HowToPlayButton->display(420,90);
}

void DrawImage::drawExitButton(void)
{
	ExitButton->display(420,30);
}

void DrawImage::drawImageAtZero ( int q )
{
	Questions[q].first->display(0,0);
}

void DrawImage::drawScore(int s)
{
	Scores[s/10]->display(15,WindowY-44);
}

void DrawImage::drawChar(int cnum)
{
	// img->display(positionX,positionY)
}

void DrawImage::drawLogo()
{
	//Homepage_photos[6]->display(350,400);
}

void DrawImage::darwInfo(int c_num)
{
	map_photos[c_num+5]->display(0,0);
}

void DrawImage::drawContinue()
{
	map_photos[11]->display(30,50);
}

void DrawImage::drawLoad(int x)
{
	Loadd[x]->display(0,0);
}

void DrawImage::drawChar(int char_num , int x , int y )
{
	chars[char_num]->display(x,y);
}
